Ambient light sensing device and method, and interactive device using same

ABSTRACT

The invention provides an ambient light sensing device which receives at least one visible light image sensed by an image sensor. The ambient light sensing device includes an image sampling unit and an analyzing unit. The image sampling unit divides the visible light image into plural image blocks, extracts at least one sample data in each image block, and generates a comparison data according to a difference between the sample data extracted at different time points. The analyzing unit analyzes the comparison data and generates an output analysis signal accordingly.

CROSS REFERENCE

The present invention claims priority to TW 101127676, filed on Aug. 1,2012.

BACKGROUND OF THE INVENTION Field of Invention

The present invention relates to an ambient light sensing device andmethod, especially an ambient light sensing device and method whichdivide a visible light image into plural image blocks and respectivelysample and analyze data in the image blocks to generate an outputanalysis signal. An interactive device using the ambient light sensingdevice is also provided by the present invention.

Description of Related Art

An ambient light sensor is used for sensing ambient light and analyzingthe status of the ambient light. In order to simulate the effect ofhuman eyes in response to light of visible wavelength, the ambient lightsensor usually includes a film coating, a digital to analog converter,and a power amplifier, etc. A proximity sensor also senses light, butits function is to detect a distance. The proximity sensor usuallyincludes an infrared light source; the infrared light source projectslight, and the proximity sensor receives light reflected from an objectto determine a distance from the object. An interactive device is oftenequipped with various different kinds of sensing devices according todifferent requirements. FIG. 1 shows an interactive device 10 which isfor example a mobile phone, a personal digital assistance (PDA), or alaptop computer. Such interactive device 10 usually includes a camerafunction and therefore the figure shows an image sensing device 11 whichis included within the interactive device 10. Besides the image sensingdevice 11, other sensing devices 12, 13, and 14 can be included fordifferent functions, such as a proximity sensor and/or an ambient lightsensor for sensing a specific spectrum.

However, to equip multiple sensing devices in an interactive device,especially the proximity sensor which requires an additional infraredlight source, increases the cost, power consumption and complexity.Furthermore, when the interactive device is a portable electronicdevice, it will be more convenient if the portable electronic device canbe controlled by more ways (for example, shaking the portable electronicdevice to input a command) but does not require additional components toincrease its complexity, which will make the interactive device morecompetitive.

Therefore, it is desired to provide an interactive device with reducedcost, power consumption and complexity, and more ways of control.

SUMMARY OF THE INVENTION

The present invention provides an ambient light sensing device andmethod, and an interactive device using the ambient light sensingdevice, which can reduce the cost and complexity and provide more waysof control.

According to the above and other objectives, the present inventionprovides an ambient light sensing device for receiving a visible lightimage generated from an image sensor. The ambient light sensing deviceincludes an image sampling unit and an analyzing unit. The imagesampling unit divides the visible light image into plural image blocks,extracts at least one sample data in each image block, and generates acomparison data according to a difference between the sample dataextracted at different time points. The analyzing unit analyzes thecomparison data and generates an output analysis signal.

The present invention also provides an interactive device, whichincludes: an image sensor, for providing a camera function for theinteractive device to generate an image according to ambient light; andan ambient light sensing device, for extracting at least one sample datain the image, generating a comparison data according to a differencebetween the sample data extracted at different time points, andanalyzing the comparison data to generate an output analysis signalaccordingly.

The present invention also provides a method of sensing ambient light,which includes: obtaining an image according to ambient light by animage sensor provided in an interactive device for a camera function;extracting at least one sample data in the image; generating acomparison data according to a difference between the sample dataextracted at different time points; and analyzing the comparison data togenerate an output analysis signal accordingly.

In a preferable embodiment of the present invention, the visible lightimage is divided into plural image blocks of a uniform size or of sizesin proportion to one another.

In a preferable embodiment of the present invention, the visible lightimage includes plural pixel data and each pixel data includes pluralsub-pixel data. The sample data is generated according to brightness,color temperature, contrast, image pattern, a number or shape of a groupof pixels having a predefined color or meeting a predefined condition,or a number or shape of a group of sub-pixels having a predefined coloror meeting a predefined condition. The sub-pixels having a predefinedcolor for example are green sub-pixels.

In a preferable embodiment of the present invention, the output analysissignal is generated according to the comparison data and a status of theinteractive device. The output analysis signal includes one or more ofthe followings: a flip signal, a proximity signal, an ambient brightnesssignal, a gesture signal, a device motion signal, and a device shakesignal.

In a preferable embodiment of the present invention, a function of theinteractive device can be performed according to the output analysissignal.

The objectives, technical details, features, and effects of the presentinvention will be better understood with regard to the detaileddescription of the embodiments below, with reference to the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a prior art interactive device.

FIG. 2 shows a preferable embodiment of the ambient light sensing deviceaccording to the present invention.

FIG. 2A shows a preferable embodiment of the pixel sensing unitaccording to the present invention.

FIG. 3 shows a preferable embodiment of dividing image blocks accordingto the present invention.

FIG. 3A shows another preferable embodiment of dividing image blocksaccording to the present invention.

FIG. 4 shows a preferable embodiment of the flip operation of thedevice.

FIG. 5 shows a preferable embodiment of operating the device by agesture.

FIG. 6 shows a preferable embodiment of operating the device by amotion.

FIG. 7 shows a preferable embodiment of operating the device by shaking.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The drawings as referred to throughout the description of the presentinvention are for illustrative purpose only, but not drawn according toactual scale. The orientation such as: up, down, left, or right is forreference to the drawings only.

The ambient light sensing device of the present invention can be used invarious interactive devices such as a touch pad, a touch panel, a mobilephone, a personal digital assistant (PDA), a laptop computer, a tabletcomputer, or the like.

FIG. 2 shows an embodiment of the ambient light sensing device 20 of thepresent invention, which receives at least one image generated from animage sensor S. The ambient light sensing device 20 and the image sensorS can be integrated in an interactive device; or, if the interactivedevice has already been equipped with an image sensor, the ambient lightsensing device 20 can make use of the image generated from the imagesensor S and the interactive device does not need to incorporate anothersensor. Currently many portable electronic devices (such as theaforementioned mobile phone, personal digital assistant (PDA), laptopcomputer, tablet computer, etc.) have already been equipped with animage sensor, and the present invention therefore has the advantages oflower cost and less circuit complexity than the prior art ambient lightsensing device because the present invention does not require adedicated sensor(s) for sensing ambient light and/or proximitydetection.

In this embodiment, the ambient light sensing device 20 includes animage sampling unit 21 and an analyzing unit 22. If the image sensor Sis a sensor already provided in the interactive device, then the imagesensor S is usually for providing a camera function (photo taking orvideo recording) and it generates visible light image (however thepresent invention is not limited to this; the image sensor S also can beone which generates invisible light image such as infrared image). Theimage sampling unit 21 divides the visible light image (S2, FIG. 3 )into plural image blocks (S2B1, FIG. 3 ), extracts at least one sampledata in each image block, and generates a comparison data according to adifference between the received sample data at different time points.The analyzing unit analyzes the comparison data and generates an outputanalysis signal.

Referring to FIG. 2 , the image sensor S includes plural pixel sensingunits S1 (the number of pixel sensing units S1 shown in the figure isonly an example; the number of pixel sensing units S1 can be modified asdesired). When the image sensor S is for sensing visible light,referring to FIG. 2A, each of the pixel sensing units can include threekinds of sub-pixels (red R, green G, and blue B), to respectivelyreceive the corresponding red sub-pixel information, green sub-pixelinformation, and blue sub-pixel information from the received visiblelight. In one embodiment, because the green sub-pixel information ismore closer to what human eyes sense, the analysis of the ambient lightbrightness can be based on the green sub-pixel information. However, thepresent invention is not limited to this; the pixel sensing unit S1 caninclude other kinds of sub-pixels such as CMYK (Cyan, Magenta, Yellow,Black), or the RGB sub-pixels can be arranged in a different way fromthe one shown in figure. The analysis of the ambient light brightnesscan be based on other sub-pixel information, or can be calculated by anaverage of a group of pixels or sub-pixels, and each pixel or sub-pixelin the group can be given the same or different weightings.

Referring to FIG. 3 , a preferable embodiment of dividing the image S2into plural image blocks is shown. The visible light image S2 isgenerated from the image sensor S, and the visible light image S2includes plural pixels S21. The image sampling unit 21 divides thevisible light image S2 into plural image blocks S2B1. In this embodimentthe visible light image S2 is evenly divided into plural image blocksS2B1, that is, each image block S2B1 has the same size. However, thepresent invention is not limited to this; as shown in FIG. 3A, forexample, the visible light image S2 can be divided into plural imageblocks S2B1 having different sizes and the size of an image block S2B1is proportional to its radial location. This is because an imagecaptured by a lens may have a different imaging effect at differentradial locations, so the image blocks S2B1 may have different sizes tocope with such different imaging effects. The image sampling unit 21 canadjust sample data from different image blocks S2B2 in a different way;or the analyzing unit 22 can analyze comparison data from differentimage blocks S2B2 by different criteria, so that different image blocksS2B2 are processed by different basis to reduce errors.

The sample data for example can be a center value, an average value, agravity value, a highest value, etc. of an image block, as arepresenting value of the image block. The comparison data can be afunction based on an operation of a previous sample data and a latersample data, wherein a simplest example is a difference between sampledata extracted at different time points. The “value” for calculation canbe brightness or other parameters that can be obtained.

In one embodiment of the ambient light sensing device 20 according tothe present invention, the analyzing unit 22 analyzes the sample dataand generates an output analysis signal. Or in another embodiment,besides the sample data, the analyzing unit 22 can refer to otherinformation (for example but not limited to an operating status, time,gravity status, acceleration, or angular velocity of the interactivedevice) and generate the output analysis signal. The output analysissignal may include one or more of the followings: a flip signal, aproximity signal, an ambient brightness signal, a gesture signal, adevice motion signal, and a device shake signal, wherein which of theabove is the output analysis signal can be decided with reference to thestatus of the interactive device. In detail, the flip signal indicateswhether the interactive device equipped with the ambient light sensingdevice 20 flips or not. The proximity signal indicates whether an objectis nearby the interactive device. The ambient brightness signalrepresents a sensing result on ambient light brightness. The gesturesignal indicates whether a user makes a specific gesture toward or withreference to the interactive device. The device motion signal indicatesa moving direction and/or displacement of the interactive device. Thedevice shaking signal indicates whether the interactive device isshaking. All of these signals can provide a user with information orprovide the user with possible ways to control the interactive device.

furthermore specifically, the analyzing unit 22 receives the comparisondata from the image sampling unit 21 and determines whether the dynamicrange of the comparison data changes or not, such as changing from abright range to a dark range or vice versa, wherein the thresholdbetween the bright range and dark range can be set according toimplementation needs. For example, when the interactive device is amobile phone or a tablet computer, and the analyzing unit 22 analyzesthe comparison data for a purpose to judge whether the mobile phone ortablet computer flips or not (i.e., the output analysis signal is theflip signal), because the mobile phone may not be completely shaded whenit flips while the tablet computer can be better shaded than the mobilephone, the threshold of the dark range for determining whether themobile phone is flipped should be less stringent than the tabletcomputer. For another example, if the interactive device is a mobilephone, and the analyzing unit 22 analyzes the comparison data for apurpose to determine whether the mobile phone flips or closes to a humanear (i.e., the output analysis signal is a flip signal or a proximitysignal), because the mobile is not completely shaded and is less shadedas it flips, the threshold of dark range for determining whether themobile phone closes to a human ear should be less stringent than thethreshold of dark range for determining whether the mobile phone flips.Therefore, the threshold setting for dark and bright ranges shoulddepend on the implementation needs. In addition, the requirement of thesensitivity to the dark range is usually higher than the requirement ofthe sensitivity to the bright range, so in one embodiment, the brightand dark ranges can be scaled by a logarithmic function.

An example of how the output analysis signal generated by the analyzingunit 22 can help a user to control the interactive device is nowdescribed. Referring to FIG. 4 , FIG. 4 shows that the interactivedevice D flips along a direction F. The analyzing unit 22 judges whetherthe comparison data indicates a status change from a bright range to adark range, and it also refers to other information (such as time:whether the sample data stays in the dark range for more than apredetermined period of time, or operating status: the position statusor the currently operating function of the interactive device D), togenerate an output analysis signal corresponding to the status of theinteractive device D; in this embodiment, the output analysis signal forexample can be the flip signal, the proximity signal, or the ambientbrightness signal.

More specifically, when the interactive device is a mobile phone and itsoperating status is ringing, the output analysis signal for example canbe a flip signal and this for example means that the user intends tochange the ringtone to silent mode or the user refuses to answer thecall. When the mobile phone is in a conversation mode, the outputanalysis signal for example can be a proximity signal indicating whetherthe user's face is closing to the mobile phone or not. If the user'sface is closing to the mobile phone, the brightness of the display canbe decreased or the display can be shut down to save unnecessary powerconsumption. For another example, when the display is functioning, theoutput analysis signal can be an ambient light signal indicating theambient brightness, and the brightness of the display can be adjustedaccording to the ambient light signal; for example, the brightness ofthe display can be decreased in high brightness environment to savepower consumption, and the brightness of the display can be increased inlow brightness environment for better display effect.

It is preferable but not necessary for the output analysis signal to begenerated in correlation to the operating status. The output analysissignal can be generated by the analyzing unit 22 independent of theoperating status of the interactive device D.

The judgment in the aforementioned embodiments is based on brightness;however, the sample data needs not be related to the brightness of thewhole image or the block. In another embodiment, the image sampling unit21 can extract at least one image index in the visible light image to bethe sample data, and the image sampling unit 21 can generate acomparison data according to the difference between the sample dataextracted at different time points. The image index can be generatedaccording to one or more of: color temperature, contrast, image pattern,a number or shape of a group of pixels having a predefined color ormeeting a predefined condition, or a number or shape of a group ofsub-pixels having a predefined color or meeting a predefined condition,and the aforementioned brightness. Basically, the image index can begenerated by calculating one or plural representative pixels/sub-pixelsin the whole or a part of the image with any suitable method, and thecalculation result can be the sample data. The comparison data can begenerated from the image indices, and the analyzing unit 22 can generatethe output analysis signal according to the comparison data, for exampleaccording to methods described in the above embodiments.

FIG. 5 shows an embodiment of operating the device by a gesture, whereina hand H and a predetermined gesture T are shown. When the hand H movesin a visible region of the image sensor S, the image extracted by theimage sensor Swill change, and thus the image index will changeaccordingly. The analyzing unit 22 judges whether or not the motionvector or the trajectory is in compliance with the predetermined gestureT, and in this case the output analysis signal generated according tothe analysis result can be a gesture signal. For example, assuming thata circular gesture represents a command to set the mobile phone tosilent mode, when the hand H operates a circular gesture in front of theimage sensor S, the analyzing unit 22 determines the gesture to conformto the predetermined circular gesture according to the comparison data(the correlation between plural sample data, in this embodiment, thecomparison data is the trajectory formed by plural image indices), andgenerates a corresponding output analysis signal (gesture signal in thisembodiment); in response, the mobile phone switches off the ringtone tosilent mode according to the output analysis signal. The above is onlyan illustrative example and the gesture can be defined as any othercommand not limited to setting the mobile phone to silent mode, such aspulling out a phonebook list or locking the touch screen to prevent frommistouch, etc.

FIG. 6 shows an embodiment of operating the device by motion, wherein aninteractive device D and a motion M are shown. When the interactivedevice D moves, the image extracted by the image sensor S will change,and the image index will change accordingly. The analyzing unit 22determines whether or not the motion vector or trajectory is incompliance with a predefined motion, and in this case the outputanalysis signal generated according to the analysis result can be adevice motion signal. When the device moves in a specific direction(such as but not limited to one of the directions shown in FIG. 6 ), theimage extracted by the image sensor in the interactive device D willmove in a direction opposite to the device motion; thus, the analyzingunit 22 can generate a corresponding device motion signal. The devicemotion signal can be used to represent a command such as switching page,activating camera, or triggering a specific function, etc., which can bedefined as desired. Both the device motion signal and the gesture signalare generated according to a change between the image indices; thedevice motion signal is generated according to the motion of theinteractive device D, while the gesture signal is generated according toa object motion in the extracted image. If the interactive device hasbeen equipped with another sensor capable of distinguishing whether theinteractive device D is moving, such as a gravity sensor, anacceleration sensor, a gyro-sensor, etc., the analyzing unit 22 candetermine whether it is the interactive device D or the object in theextracted image that is moving by referring to information provided bythis other sensor, to thereby determine whether the output analysissignal is a device motion signal or a gesture signal. However, if theinteractive device D does not provide such information, the presentinvention can still function properly, and it is only required to setthe motion vector or trajectory of the image indices of the gesturesignal and that of the device motion signal differently so that one isdistinguishable from the other.

FIG. 7 shows an embodiment of operating a device by shaking, wherein theinteractive device D and a shaking motion S of the interactive device Dare shown. The wording “shake” means that the interactive device Drotates with respect to a plane. The analyzing unit 22 determineswhether the motion vector or trajectory of the image indices conforms toa predefined device shaking motion, and in this case the output analysissignal generated according to the analysis result can be a deviceshaking signal. When the interactive device D shakes, the image indexextracted in the image sensor S forms a trajectory moving in a directionopposite to the direction of the interactive device; thus, the analyzingunit 22 can determine whether to generate the device shaking signalaccordingly, or the analyzing unit 22 can refer to other informationprovided from the interactive device D to assist its judgment. Thedevice shaking signal can be used to represent a command such asswitching page, activating camera, displaying a predefined alphabet ortext, triggering a specific function, etc., which can be defined asdesired. Similar to the aforementioned embodiment, the device shakingsignal, the device motion signal, and the gesture signal are allgenerated according to a chang between the image indices, and all ofthem relate to or are affected by the motion of the interactive deviceD. If the interactive device D can provide other information to assistjudging whether the interactive device D moves, the analyzing unit 22can refer to such information for better determining whether the outputanalysis signal is a device shaking signal, a device motion signal, or agesture signal. However, if the interactive device does not provide suchinformation, the present invention can still function properly, and itis only required to set the motion vector or trajectory of these signalsdifferently so that one is distinguishable from the rest.

The present invention has been described in considerable detail withreference to certain preferred embodiments thereof. It should beunderstood that the description is for illustrative purpose, not forlimiting the scope of the present invention. Those skilled in this artcan readily conceive variations and modifications within the spirit ofthe present invention. For example, the exposure time of the imagesensor as it captures an image may affect the analysis of the analyzingunit as it analyzes the comparison data, so the exposure time ispreferably set in a proper range, or the analysis can be correlated tothe exposure time. For another example, when a low resolution imagesensor is used, the number of samples taken from an image is preferablymore than a case where a high resolution image sensor is used, so thatthe analysis is more accurate. The present invention is not limited tothe application in a mobile phone; it can be applied to any other kindof portable electronic device or a larger size electronic device. Anembodiment or a claim of the present invention does not need to achieveall the objectives or advantages of the present invention. The title andabstract are provided for assisting searches but not for limiting thescope of the present invention.

1. An ambient light sensing device for receiving at least one visiblelight image sensed by an image sensor installed within a portableelectronic device, wherein the image sensor provides both a photo takingor video recording function and an ambient light sensing function,whereby the photo taking or video recording function and the ambientlight sensing function generate separated results, the ambient lightsensing device comprising: an image sampling unit, for obtaining the atleast one visible light image from the image sensor, extracting aplurality of sample data from the visible light image at different timepoints, and generating a comparison data according to a differencebetween the sample data extracted at different time points; and ananalyzing unit, for analyzing the comparison data and generating anoutput analysis signal accordingly, wherein the output analysis signalincludes an ambient brightness signal representing a sensing result ofambient light brightness, the ambient brightness signal being providedto the portable electronic device to be processed by the portableelectronic device for generating ambient brightness information suchthat the portable electronic device is not equipped with a dedicatedsensor which is only for sensing ambient light, wherein the sample dataincludes at least one green sub-pixel data, and the image sampling unitgenerates the comparison data according to the green sub-pixel datawhereby the ambient brightness signal which is a separated result fromthe photo taking or video recording function is obtained solelyaccording to the green sub-pixel data.
 2. The ambient light sensingdevice of claim 1, wherein the visible light image is divided into theplurality of image blocks of a uniform size or of sizes in proportion toone another.
 3. The ambient light sensing device of claim 1, wherein thesample data is generated according to brightness.
 4. The ambient lightsensing device of claim 1, wherein the visible light image includes aplurality of pixel data and each pixel data includes a plurality ofsub-pixel data, and the sample data is generated according tobrightness, color temperature, contrast, image pattern, a number orshape of a group of pixels having a predefined color or meeting apredefined condition, or a number or shape of a group of sub-pixelshaving a predefined color or meeting a predefined condition.
 5. Theambient light sensing device of claim 1, wherein the ambient lightsensing device is disposed in an interactive device and the analyzingunit generates the output analysis signal according to the comparisondata and a status of the interactive device.
 6. An interactive device,comprising: an image sensor, for providing a photo taking or videorecording function for the interactive device, and also for providing anambient light sensing function to generate an image according to ambientlight, whereby the photo taking or video recording function and theambient light sensing function generate separated results, wherein thephoto taking or video recording function records an image or a video fora user to see, and the ambient light sensing function senses ambientlight condition for electronic processing to generate a correspondingaction, so that the generated separated results are expressed to theuser in separate and different forms, one form being a form of an imageor a video and another form being an action which is different from theimage or video; and an ambient light sensing device, for obtaining theimage from the image sensor, dividing the image into a plurality ofimage blocks, extracting at least one sample data in the image,generating a comparison data according to a difference between thesample data extracted at different time points, and analyzing thecomparison data to generate an output analysis signal accordingly,wherein the output analysis signal includes an ambient brightness signalrepresenting a sensing result of ambient light brightness, the ambientbrightness signal being provided to the interactive device to beprocessed by the interactive device for generating ambient brightnessinformation such that the interactive device is not equipped with adedicated sensor which is only for sensing ambient light, wherein theinteractive device is a portable electronic device; wherein the sampledata includes at least one green sub-pixel data, and the comparison datais generated according to the green sub-pixel data whereby the ambientbrightness signal which is a separated result from the photo taking orvideo recording function is obtained solely according to the greensub-pixel data.
 7. The interactive device of claim 6, wherein the imagesensor includes a plurality of pixels and each pixel includes aplurality of sub-pixels for sensing a visible light image, and whereinthe sample data includes at least one sub-pixel data.
 8. The interactivedevice of claim 6, wherein the ambient light sensing device generatesthe output analysis signal according to the comparison data and a statusof the interactive device.
 9. A method of sensing ambient light,comprising: obtaining an image according to ambient light by an imagesensor provided in an interactive device, the image sensor beingconfigured to provide a photo taking or video recording function for aninteractive device, and also to provide an ambient light sensingfunction to generate the image according to ambient light, whereby thephoto taking or video recording function and the ambient light sensingfunction generate separated results, wherein the photo taking or videorecording function records an image or a video for a user to see, andthe ambient light sensing function senses ambient light condition forelectronic processing to generate a corresponding action, so that thegenerated separated results are expressed to the user in separate anddifferent forms, one form being a form of an image or a video andanother form being an action which is different from the image or video;obtaining the image from the image sensor; dividing the image into aplurality of image blocks; extracting at least one sample data in theimage; comparing the sample data extracted at different time points ofthe same image block to generate a comparison data according to adifference between the sample data extracted at different time points;and analyzing the comparison data to generate an output analysis signalaccordingly, wherein the output analysis signal includes an ambientbrightness signal representing a sensing result of ambient lightbrightness, the ambient brightness signal being provided to theinteractive device to be processed by the interactive device forgenerating ambient brightness information such that the interactivedevice is not equipped with a dedicated sensor which is only for sensingambient light, wherein the interactive device is a portable electronicdevice; wherein the sample data includes at least one green sub-pixeldata, and the comparison data is generated according to the greensub-pixel data whereby the ambient brightness signal which is aseparated result from the photo taking or video recording function isobtained solely according to the green sub-pixel data.
 10. The method ofclaim 9, wherein the step of analyzing the comparison data to generatean output analysis signal includes: generating the output analysissignal according to the comparison data and a status of the interactivedevice.
 11. The method of claim 9, further comprising: performing afunction of the interactive device according to the output analysissignal.
 12. The interactive device of claim 6, wherein the image sensoris not a dedicated sensor only for sensing ambient light.
 13. Theambient light sensing device of claim 1, wherein the image blocks are oftwo or more different sizes.
 14. The ambient light sensing device ofclaim 1, wherein the image blocks have different sizes wherein the sizesof the image blocks are proportional to the radial locations of theimage blocks.
 15. The interactive device of claim 6, wherein the imageblocks are of two or more different sizes.
 16. The interactive device ofclaim 6, wherein the image blocks have different sizes wherein the sizesof the image blocks are proportional to the radial locations of theimage blocks.
 17. The method of claim 9, wherein the image blocks are oftwo or more different sizes.
 18. The method of claim 9, wherein theimage blocks have different sizes wherein the sizes of the image blocksare proportional to the radial locations of the image blocks.
 19. Theambient light sensing device of claim 1, wherein the sample data is acenter value, an average value, a gravity value, or a highest value ofan image block.
 20. The interactive device of claim 6, wherein thesample data is a center value, an average value, a gravity value, or ahighest value of an image block.
 21. The method of claim 9, wherein thesample data is a center value, an average value, a gravity value, or ahighest value of an image block.